<% if $Format == 'PDF' %>
	<link rel="stylesheet" type="text/css" href="payment/css/ReceiptDetail.css" />
<% else %>
	<link rel="stylesheet" type="text/css" href="/payment/css/ReceiptDetail.css" />
<% end_if %>
<div id="payment-receipt"> 
    <p><strong><%t ReceiptDetail.ss.PATMENT_REFERENCE "Payment Reference #{reference}" reference=$Reference %></strong></p>
    <table id="payment-items">
        <tr>
            <th class="payment-method"><%t ReceiptDetail.ss.PATMENT_METHOD "Payment Method" %></th>
            <th class="payment-detail"><%t ReceiptDetail.ss.DETAILS "Details" %></th>
        </tr>
        <% loop Payments %>
            $FullDetailHTML
        <% end_loop %>
    </table>
</div>